﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

using NetMonitor.ClassLib;

namespace NetMonitor.NetApp
{
    class PointLine
    {
        public MyPoint point1;
        public MyPoint point2;
        public Color lineColor;

        public PointLine(MyPoint p1, MyPoint p2, Color c)
        {
            point1 = p1;
            point2 = p2;
            lineColor = c;
        }

        public bool myEquals(MyPoint p1, MyPoint p2)
        {
            if (((p1 == point1) && (p2 == point2))
                || ((p1 == point2) && (p2 == point1)))
                return true;
            else
                return false;
        }
    }
}
